package com.yunxi.dao.otd;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.otd.OtdWeekUpload;
import com.yunxi.otd.pojo.OtdWeekUploadVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 周度需求计划上传 Mapper 接口
 * </p>
 *
 * @author
 * @since 2019-05-09
 */
@Repository
public interface OtdWeekUploadMapper extends BaseMapperPlus<OtdWeekUpload> {

    int isExistUpload(@Param("year") String year, @Param("month") String month,@Param("week")String week);

    void updateUploadWeekSumNum(String weekUploadCode);

    OtdWeekUpload selectWeekUploadByWeek(@Param("year") String year, @Param("month") String month,@Param("week")String week);

}
